/*
 补充知识点：背景渐变效果
 	pc端一定加浏览器私有前缀  否则设置无效，移动端不用加-webkit-
 	background：-webkit-linear-gradient(开始方向,颜色1,颜色2,...);
 	默认从上开始，也可设置从对角线开始    
 	如：background：-webkit-linear-gradient(top left,red,blue);
 		background：-webkit-linear-gradient(left,red,blue);
*/

body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;  /*横向禁止出现滚动条*/
    -webkit-tap-highlight-color: transparent;
}
ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
a {
	text-decoration: none;
	color: #222;
}
div {
	box-sizing: border-box;
}
/*搜索模块*/
.search-index {
	display: flex;
	/*固定定位 与父级没有关系  以屏幕为准*/
	position: fixed;
	top: 0;
	left: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	/*固定盒子  必须有宽度*/
	width: 100%;
	min-width: 320px;
	max-width: 540px;
	height: 44px;
	background-color: #f6f6f6;
	border-top;1px solid #ccc;
	border-bottom:1px solid #ccc;
}
.search {
	position: relative;
    height: 26px;
    line-height: 24px;
    border: 1px solid #ccc;
    flex: 1;
    font-size: 12px;
    color: #666;
    margin: 7px 10px;
    padding-left: 25px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}
.search::before {
	content: "";
	position: absolute;
	top:5px;
	left: 5px;
	width: 15px;
	height: 15px;
	background:url(../images/sprite.png) no-repeat -59px -279px;
	background-size: 104px auto;
}
.user {
	width: 44px;
	height: 44px;
	font-size: 12px;
	text-align: center;
	color: #2eaae0;
}
.user::before {
	content: "";
	display: block;
	width: 23px;
	height: 23px;
	background: url(../images/sprite.png) no-repeat -59px -194px;
	background-size: 104px auto;
	margin: 4px auto 0;
}
/*focus*/
.focus img {
	width: 100%;
	margin-top:44px ;
}
/*local_nav*/
.local_nav {
	display: flex;
	height: 64px;
	background-color: #fff;
	border-radius:8px;
	margin: 3px 4px;
}
.local_nav li {
	flex: 1;
}
.local_nav li a {
	display: flex;
	flex-direction: column;
	/*因为是单行    用align-items  侧轴居中对齐*/
	align-items: center;
	font-size: 12px;
}
.local_nav li [class^="local_nav_icon"] {  /*注意属性选择器的使用（头部相同的）*/
	width: 32px;
	height: 32px;
	background:url(../images/localnav_bg.png) no-repeat 0 0;
	background-size: 32px auto;     /*注意二倍图缩放问题*/
	margin-top: 8px;
} 
.local_nav li .local_nav_icon_icon2 {
	background-position: 0 -32px;
}
.local_nav li .local_nav_icon_icon3 {
	background-position: 0 -64px;
}
.local_nav li .local_nav_icon_icon4 {
	background-position: 0 -96px;
}
.local_nav li .local_nav_icon_icon5 {
	background-position: 0 -128px;
}
/*nav*/
nav {
	overflow: hidden;
	border-radius: 8px;
	margin: 0 4px 3px;
}
.nav_common {
	display: flex;
	height: 88px;
	background-color: palegoldenrod;
}
.nav_common:nth-child(2) {
	margin: 3px 0;
}
.nav_items {
	/*两个不冲突*/
	flex: 1;
	display: flex;
	flex-direction: column;
}
/*-n+3 是取前两个    -n+3  是取前三个  以此类推*/
.nav_items:nth-child(-n+2) {
	border-right: 1px solid #fff;
}
.nav_items a {
	flex: 1;
	text-align: center;
	line-height: 44px;
	color: #fff;
	/*文字阴影效果*/
	text-shadow: 1px 1px rgba(0,0,0,.2);
}
.nav_items a:nth-child(1) {
	border-bottom: 1px solid #fff;
}
.nav_items:nth-child(1) a {
	border: 0;
	background: url(../images/hotel.png) no-repeat bottom center;  /*底端居中对齐*/
	background-size: 121px auto;
}
.nav_common:nth-child(1) {
	background: -webkit-linear-gradient(left,#FF6851,#FF9F46);
}
.nav_common:nth-child(2) {
	background: -webkit-linear-gradient(left,#448FF2,#48B5F0);
}
.nav_common:nth-child(3) {
	background: -webkit-linear-gradient(left,#26B2A7,#62C354);
}
/*subnav_entry*/
.subnav_entry {
	display: flex;
	border-radius: 8px;
	margin: 0 4px;
	padding: 4px 0;
	background-color: #fff;
	flex-wrap: wrap;
}
.subnav_entry li {
	flex: 20%;  /*flex的值也可以用相对于父级的%表示*/
}
.subnav_entry li a {
	display: flex;
	flex-direction: column;
	align-items: center;
}
.subnav_entry li [class^="subnav"] {
	width: 28px;
	height: 28px;
	margin-top:4px;
	background:url(../images/subnav-bg.png) no-repeat 0 0;
	background-size: 28px auto;
}
.subnav_entry li .subnav_bg2 {
	background-position: 0 -29px;
}
.subnav_entry li .subnav_bg3 {
	background-position: 0 -63px;
}
.subnav_entry li .subnav_bg4 {
	background-position: 0 -98px;
}
.subnav_entry li .subnav_bg5 {
	background-position: 0 -130px;
}
.subnav_entry li .subnav_bg6 {
	background-position: 0 -63px;
}
.subnav_entry li .subnav_bg7 {
	background-position: 0 -63px;
}
.subnav_entry li .subnav_bg8 {
	background-position: 0 -63px;
}
.subnav_entry li .subnav_bg9 {
	background-position: 0 -63px;
}
.subnav_entry li .subnav_bg0 {
	background-position: 0 -63px;
}
/*sales—box*/
.sales-box {
	margin: 4px;
	border-top: 1px solid #CCC;
	background-color: #fff;
}
.sales-hd {
	position: relative;
	height: 44px;
	border-bottom:1px solid #ddd;
}
.sales-hd h2 {
	position: relative;
	text-indent:-999px;
	overflow: hidden;
}
.sales-hd h2::after {
	content: "";
	width: 79px;
	height: 15px;
	position: absolute;
	top: 6px;
	left: 20px;
	background: url(../images/hot.png) no-repeat 0 -20px;
	background-size: 79px auto;
}
.more {
	position: absolute;
	top:0;
	right: 5px;
	background: -webkit-linear-gradient(left,#ff506c,#ff6bc6);
	border-radius: 15px;
	padding: 2px 20px 2px 10px;
	color: #fff;
}
.more::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 8px;
	width: 7px;
	height: 7px;
	border-top: 2px solid #fff;
	border-right: 2px solid #fff;
	transform: rotate(45deg);
}
.row {
	display: flex;
}
.row a {
	flex: 1;
	border-bottom: 1px solid #ddd;
}
.row a:nth-child(1) {
	border-right: 1px solid #ddd;
}
.row a img {
	width: 100%;
}
